package com.ldc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther liudc
 * @since 2022/11/2
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_user")
public class SysUserBean {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "user_name")
    private String userName;
    @JsonIgnore
    @TableField("password")
    private String passWord;
    @TableField("login_name")
    private String loginName;
    @TableField("status")
    private String status;
    @TableField("update_time")
    private long updateTime;
}
